package com.wanfu.service;

import com.wanfu.entity.User;

import java.io.UnsupportedEncodingException;

public interface UserService {
    User register(String mobile,String userName, String password) throws UnsupportedEncodingException;

    User login(String identityType, String identifier, String credential) throws UnsupportedEncodingException;
    User findUserByMobile(String mobile);

    User findUserByUserName(String userName);
}
